struct Article {
  1: i32 id,
  2: map<string, double> features
}

service RelatedRecomm {
  bool Reload(1:string filename);
  bool AddArticle(1: Article article),
  bool RemoveArticle(1: i32 id),
  list<i32> GetRelated(1: i32 id)
}
